package com.suning.sawp.service.util;

import java.util.HashMap;
import java.util.Map;

public class BaseContants {
    /**
     * 是否成功处理标志位
     */
    public static final String RET_FLAG = "retFlag";
    /**
     * 成功处理状态
     */
    public static final String SUCCESS = "1";
    /**
     * 失败处理状态
     */
    public static final String FAILED = "0";
    /**
     * 错误码
     */
    public static final String ERROR_CODE = "errorCode";
    /**
     * 错误消息
     */
    public static final String ERROR_MSG = "errorMessage";
    
    public static final String _SPLIT = "_";

    /**
     * 成功返回的数据结点
     */
    public static final String DATA = "data";

    public interface Num {
        public static final int ZERO = 0;
    }

    public interface Str {
        public static final String ZERO = "";
    }

    // 默认页面大小
    public static final int DEFUALT_PAGE_SIZE = 10;

    public interface LogisticsContants {
        public static final String SITE_PROPERTY_1 = "1";
        public static final String SITE_PROPERTY_2 = "2";
        public static final String SITE_PROPERTY_X = "X";

        public static final int OPERATE_TYPE_CODE_1010 = 1010;
        public static final int OPERATE_TYPE_CODE_1030 = 1030;
        public static final int OPERATE_TYPE_CODE_1070 = 1070;
        public static final int OPERATE_TYPE_CODE_1090 = 1090;
        public static final int OPERATE_TYPE_CODE_1020 = 1020;
        public static final int OPERATE_TYPE_CODE_1080 = 1080;
        public static final int OPERATE_TYPE_CODE_1101 = 1101;
        public static final int OPERATE_TYPE_CODE_1102 = 1102;
        public static final String OPERATE_TYPE_CODE_C000 = "C000";
        public static final String OPERATE_TYPE_CODE_C010 = "C010";
        public static final String OPERATE_TYPE_CODE_C015 = "C015";

        public static final Map<String, String> CSTORE_STATUS_MAP = new HashMap<String, String>() {
            /**
             */
            private static final long serialVersionUID = 1L;

            {

                put("C000", "已安排送货，请做好收货准备。");
                put("C010", "顾客已签收。");
                put("C015", " 送货服务已完成，欢迎再次光临！");
            }
        };

    }
}
